﻿using AutoMapper;
using Navigant.DataContracts;
using Navigant.Model.PreservationNotices;

namespace Navigant.Mapping
{
    public class PreservationNoticeTemplateContractConverter : ITypeConverter<PreservationNoticeTemplateContract, PreservationNoticeTemplate>
    {
        #region ITypeConverter<PreservationNoticeTemplateContract,PreservationNoticeTemplate> Members

        public PreservationNoticeTemplate Convert(PreservationNoticeTemplateContract source)
        {
            return Converter.ToPreservationNoticeTemplate(source);
        }

        #endregion
    }
}
